[test](migrate) move some cases from p2 to p0 (#36750)(#36787)#36922
Merged
Conversation
…2 to p0 (apache#36750) Move test `test_hive_to_date` from `external_table_p2` to `external_table_p0`, so that developer can run it locally with docker env. Guidance for how to migrate suites from hive p2 to hive p0: 1. Create suite dir under `docker/thirdparties/docker-compose/hive/scripts/suites/` eg: `docker/thirdparties/docker-compose/hive/scripts/suites/test_hive_to_date/` 2. Prepare the data and hql - Copy the table's data to `docker/thirdparties/docker-compose/hive/scripts/suites/test_hive_to_date/data/` and compress it. - If data is larger then 1MB, better upload to oss and download at runtime, see `docker/thirdparties/docker-compose/hive/scripts/suites/test_hive_compress_type/run.sh` - Prepare create table stmt like: `docker/thirdparties/docker-compose/hive/scripts/suites/test_hive_to_date/create_table.hql` 3. Create `run.sh` eg: `docker/thirdparties/docker-compose/hive/scripts/suites/test_hive_to_date/run.sh` This scripts will be called when the hive docker starts. It will: 1. put local data to hdfs in hive container. 2. create hive table in hive container.
- test_external_credit_data - test_upper_case_column_name Only move the hive related cases, the iceberg related will be done in next PR
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Contributor
Author
|
run buildall |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bp #36750 and #36787